package com.csdj.service;

import com.csdj.dao.InformationsMapper;
import com.csdj.vo.Informations;
import com.csdj.vo.Replies;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @InterfaceName: InformationsService
 * @Author: ZouLi
 * @Description: 资讯业务逻辑接口
 * @Date: 2022/9/7 17:42
 **/
public interface InformationsService {
    /**
     * @Description: 查询全部资讯信息
     * @Param []
     * @Return java.util.List<com.csdj.vo.Informations>
     * @Throws
     **/
    List<Informations> selectAllInformation();

    /**
     * @Description: 根据编号查询资讯信息
     * @Param [id]
     * @Return com.csdj.vo.Informations
     * @Throws
     **/
    Informations selectInformationById(Integer id);

    /**
     * @Description: 添加回复
     * @Param [replies]
     * @Return boolean
     * @Throws
     **/
    boolean addReplie(Replies replies);
}
